/* ============================================================
   Presentation.css — Startup-style presentation (projection-ready)
   Big fonts, modern layout, real photos support
   ============================================================ */

/* ---- ROOT ---- */
.prez-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - 2px);
    overflow: hidden;
    background: #05071a;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #fff;
    user-select: none;
    z-index: 9999;
    isolation: isolate;
}

#prez-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- LOGO BANNER (top-left fixed) ---- */
.prez-logo-banner {
    position: absolute;
    top: 18px;
    left: 24px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: none;
}

.prez-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.prez-logo-text {
    font-size: 1.05rem;
    font-weight: 800;
    color: rgba(255,255,255,0.55);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---- SLIDES ---- */
.prez-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    pointer-events: none;
    overflow-y: auto;
    padding: 64px 50px 32px 48px;
    box-sizing: border-box;
}

.prez-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    z-index: 2;
}

.prez-slide.exit-up {
    opacity: 0;
    transform: translateY(-60px) scale(0.96);
    z-index: 1;
}

.prez-slide.exit-down {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    z-index: 1;
}

/* ---- SLIDE CONTENT ---- */
.slide-content {
    position: relative;
    max-width: 1600px;
/*    width: 100%;*/
    z-index: 2;
}

.slide-tag {
    display: none;
}

/* ---- PAGE COUNTER (inside nav, below dots) ---- */
.prez-nav-counter {
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.3px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
    margin-top: 6px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
    line-height: 1.1;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-lead {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.2px;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 8px 16px;
    border-radius: 10px;
    display: inline-block;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- COVER SLIDE ---- */
.cover-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    gap: 0;
}

/* Cover/Merci slides where 3D scene is the hero background */
.cover-hero-3d {
    position: relative;
    z-index: 3;
}

/* ---- MERCI SLIDE ---- */
.merci-title {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 20px;
    line-height: 1;
}

.merci-subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 48px;
}

.cover-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    border-radius: 100px;
    background: rgba(96,165,250,0.1);
    border: 1px solid rgba(96,165,250,0.25);
    color: #93c5fd;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 12px #60a5fa;
    flex-shrink: 0;
    animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.7); }
}

.cover-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -2.5px;
    margin-bottom: 28px;
    line-height: 1.03;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cover-subtitle {
    font-size: 1.65rem;
    color: rgba(255,255,255,0.5);
    max-width: 740px;
    margin-bottom: 44px;
    line-height: 1.7;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 24px;
    border-radius: 14px;
}

.cover-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.prez-btn-primary {
padding: 18px 44px;
border: none;
border-radius: 14px;
background: linear-gradient(135deg, #4f46e5, #7c3aed);
color: #fff;
font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 0 1px rgba(124,58,237,0.5), 0 10px 30px rgba(79,70,229,0.5);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.2px;
}

.prez-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(124,58,237,0.7), 0 14px 40px rgba(79,70,229,0.65);
}

.prez-btn-primary:active {
    transform: translateY(0);
}

.prez-btn-outline {
padding: 18px 42px;
border-radius: 14px;
background: transparent;
border: 1.5px solid rgba(167,139,250,0.4);
color: #a78bfa;
font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    letter-spacing: 0.2px;
}

.prez-btn-outline:hover {
    background: rgba(167,139,250,0.12);
    border-color: rgba(167,139,250,0.7);
    color: #c4b5fd;
    transform: translateY(-3px);
    text-decoration: none;
}

/* ---- COVER HERO IMAGE (REAL PHOTO) ---- */
.cover-hero-img {
    margin-top: 48px;
    width: 100%;
    max-width: 860px;
}

.cover-hero-photo {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 20px 70px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
}

.cover-hero-photo.fallback-svg {
    max-height: 280px;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 40px rgba(79,70,229,0.35));
}

/* ---- NAVIGATION DOTS ---- */
.prez-nav {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.prez-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.18);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.22,1,.36,1);
    padding: 0;
}

.prez-nav-dot:hover {
    border-color: #60a5fa;
    background: rgba(96,165,250,0.3);
    transform: scale(1.8);
}

.prez-nav-dot.active {
    background: #a78bfa;
    border-color: #a78bfa;
    box-shadow: 0 0 10px rgba(167,139,250,0.6);
    transform: scaleY(2.8) scaleX(1);
    border-radius: 3px;
    width: 6px;
}

/* ---- PROGRESS BAR ---- */
.prez-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 10;
}

.prez-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4f46e5, #60a5fa);
    transition: width 0.6s cubic-bezier(.22,1,.36,1);
}

/* ---- HINT ---- */
.prez-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255,255,255,0.22);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.5s;
    white-space: nowrap;
    letter-spacing: 0.4px;
}

.prez-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ---- CONTENT GRIDS ---- */
.content-grid {
    display: grid;
    gap: 28px;
    margin-bottom: 40px;
}

.content-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.content-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.content-grid.cols-1 {
    grid-template-columns: 1fr;
}

.compact-grid {
    gap: 20px;
    margin-bottom: 24px;
}

/* ---- PILLAR CARDS ---- */
.card-pillar {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(.22,1,.36,1), box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.card-pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;

}

.card-pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.45);
    border-color: rgba(167,139,250,0.3);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.card-bim  .pillar-icon { color: #38bdf8; }
.card-data .pillar-icon { color: #a78bfa; }
.card-ia   .pillar-icon { color: #f472b6; }

.card-pillar h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.card-pillar p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0;
    background: rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 12px;
    border-radius: 10px;
}

.pillar-img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
    margin-top: 18px;
    opacity: 1;
}

/* ---- STAT STRIP ---- */
.stat-strip {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 32px 0 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
    text-align: center;
    flex: 1;
    backdrop-filter: blur(20px);
    padding: 0 28px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 18%; height: 64%;
    width: 1px;
    background: rgba(255,255,255,0.08);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    background: rgba(255,255,255,1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

/* ---- SLIDE WITH IMAGE (TWO-ZONE LAYOUT) ---- */
/* Title + lead sit at the top full-width, then slide-body-cols splits into two columns */
.slide-with-image,
.slide-with-image-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slide-with-image > .slide-title,
.slide-with-image-left > .slide-title {
    width: 100%;
}

.slide-with-image > .slide-lead,
.slide-with-image-left > .slide-lead {
    margin-bottom: 20px;
}

/* Two-column body below the title/lead */
.slide-body-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    width: 100%;
}

.slide-with-image-left .slide-body-cols {
    grid-template-columns: 1fr 1fr;
}

.slide-with-image-left .slide-body-cols .slide-text-zone {
    order: 2;
}

.slide-with-image-left .slide-body-cols .slide-image-zone {
    order: 1;
}

.slide-text-zone {
    position: relative;
    z-index: 2;
}

.slide-image-zone {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.slide-photo {
    width: 100%;
/*    max-height: 520px;*/
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 16px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}

/* ---- HERO IMAGE LAYOUT: big background image, text overlaid ---- */
.slide-hero-image {
    display: flex;
    flex-direction: column;
    position: relative;
}

.slide-hero-image .slide-hero-bg {
    position: relative;
    width: 100%;
    margin-top: 16px;
    border-radius: 20px;
    overflow: hidden;
}

.slide-hero-image .slide-hero-bg img {
    width: 100%;
    max-height: 75vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 16px 56px rgba(0,0,0,0.4);
}

.slide-hero-image .slide-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 36px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    border-radius: 0 0 20px 20px;
}

.slide-hero-image .slide-hero-overlay .data-points {
    margin-bottom: 0;
}

.slide-hero-image .slide-hero-overlay .data-point {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    border-color: rgba(255,255,255,0.12);
}

/* ---- IMAGE-TOP LAYOUT: full-width image, text below ---- */
.slide-image-top {
/*    display: flex;*/
    flex-direction: column;
}

.slide-image-top .slide-top-img {
    max-width: 1000px;
    max-height: 450px;
    object-fit: cover;
    border-radius: 18px;
    margin-top: 12px;
    margin-bottom: 24px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
}

.slide-image-top .slide-bottom-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

.slide-image-top .slide-bottom-content.cols-1 {
    grid-template-columns: 1fr;
}

/* ---- Light theme for new layouts ---- */
.prez-root.prez-light .slide-hero-image .slide-hero-bg img {
/*    filter: brightness(0.65);*/
}

.prez-root.prez-light .slide-image-top .slide-top-img {
    box-shadow: 0 12px 48px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06);
}

/* ---- INFO BLOCKS ---- */
.info-block {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96,165,250,0.2), transparent);
}

.info-block:hover {
    transform: translateY(-6px);
    border-color: rgba(96,165,250,0.25);
}

.info-block-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.info-block-header i {
    font-size: 1.7rem;
    color: #60a5fa;
}

.info-block-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

.info-block p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    margin: 0;
    background: rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 12px;
    border-radius: 10px;
}

/* ---- ENJEUX SECTION ---- */
.enjeux-section {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(79,70,229,0.18);
    border-radius: 18px;
    padding: 28px;
}

.enjeux-section > h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.2px;
}

.enjeux-section > h3 i {
    color: #f472b6;
    font-size: 1.3rem;
}

.enjeux-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.enjeu-card {
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: border-color 0.25s;
}

.enjeu-card:hover {
    border-color: rgba(167,139,250,0.25);
}

.enjeu-card i {
    font-size: 1.6rem;
    color: #a78bfa;
    margin-bottom: 10px;
    display: block;
}

.enjeu-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.enjeu-card p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.55;
    margin: 0;
}

/* ---- QUOTE ---- */
.prez-quote {
    position: relative;
    font-size: 1.5rem;
    font-style: italic;
    color: rgba(255,255,255,0.7);
    padding: 16px ;
    margin: 0 0 40px 0;
    border-left: 3px solid #a78bfa;
    background: rgba(79,70,229,0.09);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0 14px 14px 0;
    line-height: 1.75;
}

.prez-quote i {
    position: absolute;
    top: 18px;
    left: 16px;
    font-size: 1.3rem;
    color: rgba(167,139,250,0.35);
}

/* ---- DATA POINTS (SLIDE 3) ---- */
.data-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.data-point {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px 20px;
}

.data-point:hover {
    transform: translateX(6px);
    border-color: rgba(96,165,250,0.25);
}

.data-point > i {
    font-size: 1.8rem;
    color: #60a5fa;
    flex-shrink: 0;
}

.data-point h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 3px;
    letter-spacing: -0.2px;
}

.data-point p {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin: 0;
}

/* ---- LINK BUTTON ---- */
.prez-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 14px;
    background: rgba(79,70,229,0.18);
    border: 1px solid rgba(79,70,229,0.4);
    color: #a78bfa;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
    backdrop-filter: blur(10px);
}

.prez-link-btn:hover {
    background: rgba(79,70,229,0.32);
    border-color: rgba(167,139,250,0.6);
    color: #c4b5fd;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79,70,229,0.35);
    text-decoration: none;
}

.prez-link-btn i:last-child {
    transition: transform 0.25s;
}

.prez-link-btn:hover i:last-child {
    transform: translateX(5px);
}

/* ---- IA HERO ---- */
.ia-hero {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 52px;
    align-items: center;
}

.ia-hero-visual {
    text-align: center;
}

.ia-img {
    max-width: 100%;
    height: 360px;
    object-fit: contain;
}

.ia-intro {
    font-size: 1.45rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 28px;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 20px;
    border-radius: 14px;
}

.ia-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ia-benefits li {
    padding: 18px 0;
    font-size: 1.25rem;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ia-benefits li:last-child {
    border-bottom: none;
}

.ia-benefits li i {
    color: #60a5fa;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ---- CONCLUSION CARDS ---- */
.conclusion-cards {
    display: flex;
    gap: 22px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.conclusion-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 42px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.conclusion-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.conclusion-card:hover {
    transform: translateY(-8px);
    border-color: rgba(167,139,250,0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.conclusion-card i {
    font-size: 2.8rem;
    color: #a78bfa;
}

.conclusion-card span {
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.2px;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition-delay: 0.35s;
}

.prez-slide.active .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for sequential reveal */
.prez-slide.active .reveal-item:nth-child(2) { transition-delay: 0.45s; }
.prez-slide.active .reveal-item:nth-child(3) { transition-delay: 0.55s; }
.prez-slide.active .reveal-item:nth-child(4) { transition-delay: 0.65s; }
.prez-slide.active .reveal-item:nth-child(5) { transition-delay: 0.75s; }
.prez-slide.active .reveal-item:nth-child(6) { transition-delay: 0.85s; }

/* Titles and subtitles appear immediately (no delay) */
.slide-title,
.slide-lead,
.cover-title,
.cover-subtitle,
.cover-badge,
.merci-title,
.merci-subtitle {
    transition-delay: 0s;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
.slide-body-cols {
    grid-template-columns: 1fr;
}

.slide-with-image-left .slide-body-cols .slide-text-zone,
.slide-with-image-left .slide-body-cols .slide-image-zone {
    order: unset;
}

.slide-title {
    font-size: 3rem;
}

.slide-photo {
    max-height: 450px;
}

.slide-image-top .slide-bottom-content {
    grid-template-columns: 1fr;
}

    .ia-hero {
        grid-template-columns: 1fr;
    }

    .ia-img {
        height: 280px;
    }
}

@media (max-width: 900px) {
    .content-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .content-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .cover-title {
        font-size: 2.8rem;
      
    }

    .slide-title {
        font-size: 2.4rem;
    }

    .enjeux-grid {
        grid-template-columns: 1fr;
    }

    .stat-strip {
        flex-direction: column;
        gap: 20px;
    }

    .conclusion-cards {
        flex-direction: column;
        align-items: center;
    }

    .prez-nav {
        right: 10px;
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .cover-title {
        font-size: 2rem;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .prez-quote {
        font-size: 1.05rem;
        padding: 20px 24px;
    }

    .pillar-img {
        height: 100px;
    }

    .cover-hero-photo {
        max-height: 280px;
    }

    .slide-photo {
        max-height: 220px;
    }
}

/* ---- SMARTPHONE (max-width: 480px) ---- */
@media (max-width: 480px) {

    /* Slide container: tighter padding, align top */
    .prez-slide {
        padding: 56px 14px 20px 14px;
        align-items: flex-start;
    }

    .slide-content {
        width: 100%;
    }

    /* Logo banner: smaller, tighter */
    .prez-logo-banner {
        top: 10px;
        left: 12px;
        gap: 8px;
    }

    .prez-logo-img {
        height: 26px;
    }

    .prez-logo-text {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    /* Top action buttons: smaller, tighter */
    .prez-top-actions {
        top: 10px;
        right: 36px;
        gap: 5px;
    }

    .prez-action-btn,
    .prez-theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    /* Nav dots: thinner rail */
    .prez-nav {
        right: 6px;
        gap: 3px;
    }

    .prez-nav-dot {
        width: 5px;
        height: 5px;
    }

    .prez-nav-counter {
        font-size: 0.45rem;
    }

    /* Cover slide */
    .cover-slide {
        min-height: auto;
        gap: 0;
    }

    .cover-badge {
        font-size: 0.7rem;
        padding: 5px 14px;
        margin-bottom: 16px;
        letter-spacing: 1px;
    }

    .cover-title {
        font-size: 1.65rem;
        letter-spacing: -1.5px;
        margin-bottom: 14px;
    }

    .cover-subtitle {
        font-size: 1rem;
        padding: 10px 14px;
        margin-bottom: 20px;
        line-height: 1.5;
        border-radius: 10px;
    }

    .cover-cta {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .prez-btn-primary,
    .prez-btn-outline {
        padding: 13px 22px;
        font-size: 0.95rem;
        border-radius: 10px;
        width: 100%;
        justify-content: center;
    }

    /* Slide titles & lead */
    .slide-title {
        font-size: 1.5rem;
        letter-spacing: -0.8px;
        margin-bottom: 8px;
    }

    .slide-lead {
        font-size: 1rem;
        padding: 6px 12px;
        margin-bottom: 14px;
        border-radius: 8px;
    }

    /* Grids: always single column */
    .content-grid.cols-2,
    .content-grid.cols-3 {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 20px;
    }

    /* Pillar cards: compact */
    .card-pillar {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .pillar-icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .card-pillar h3 {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }

    .card-pillar p {
        font-size: 0.95rem;
        padding: 6px 10px;
    }

    /* Stat strip */
    .stat-strip {
        flex-direction: column;
        gap: 14px;
        padding: 18px 0 0;
    }

    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .stat-item {
        padding: 0 12px;
    }

    .stat-item + .stat-item::before {
        display: none;
    }

    /* Two-column body ? single column */
    .slide-body-cols {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .slide-photo {
        max-height: 200px;
        border-radius: 12px;
    }

    /* Hero image layout */
    .slide-hero-image .slide-hero-bg {
        margin-top: 10px;
        border-radius: 14px;
    }

    .slide-hero-image .slide-hero-bg img {
        max-height: 45vh;
        border-radius: 14px;
    }

    .slide-hero-image .slide-hero-overlay {
        padding: 16px 14px;
    }

    .slide-hero-image .slide-hero-overlay .data-point {
        padding: 10px 12px;
    }

    /* Image-top layout */
    .slide-image-top .slide-top-img {
        max-height: 200px;
        border-radius: 12px;
        margin-top: 8px;
        margin-bottom: 14px;
    }

    .slide-image-top .slide-bottom-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Info blocks */
    .info-block {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .info-block-header i {
        font-size: 1.3rem;
    }

    .info-block-header h3 {
        font-size: 1.15rem;
    }

    .info-block p {
        font-size: 0.95rem;
        padding: 6px 10px;
    }

    /* Enjeu cards */
    .enjeu-card {
        padding: 14px;
        border-radius: 10px;
    }

    .enjeu-card i {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .enjeu-card h4 {
        font-size: 1.05rem;
    }

    .enjeu-card p {
        font-size: 0.9rem;
    }

    /* Data points */
    .data-points {
        gap: 8px;
        margin-bottom: 14px;
    }

    .data-point {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 10px;
    }

    .data-point > i {
        font-size: 1.4rem;
    }

    .data-point h4 {
        font-size: 1rem;
    }

    .data-point p {
        font-size: 0.88rem;
    }

    /* Quotes */
    .prez-quote {
        font-size: 0.95rem;
        padding: 12px 14px;
        margin-bottom: 18px;
        line-height: 1.6;
        border-radius: 0 10px 10px 0;
    }

    .prez-quote i {
        font-size: 1rem;
        top: 12px;
        left: 10px;
    }

    /* IA section */
    .ia-intro {
        font-size: 1rem;
        padding: 12px 14px;
        margin-bottom: 16px;
    }

    .ia-benefits li {
        font-size: 0.95rem;
        padding: 12px 0;
        gap: 10px;
    }

    .ia-benefits li i {
        font-size: 1.1rem;
    }

    /* Link button */
    .prez-link-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
        border-radius: 10px;
        gap: 8px;
    }

    /* Conclusion cards */
    .conclusion-cards {
        gap: 12px;
        margin: 20px 0;
    }

    .conclusion-card {
        padding: 18px 24px;
        border-radius: 14px;
        gap: 8px;
    }

    .conclusion-card i {
        font-size: 2rem;
    }

    .conclusion-card span {
        font-size: 0.95rem;
    }

    /* Merci slide */
    .merci-title {
        font-size: clamp(2.5rem, 14vw, 5rem);
        margin-bottom: 12px;
    }

    .merci-subtitle {
        font-size: 1rem;
        letter-spacing: 1.5px;
        margin-bottom: 24px;
    }

    /* Modal */
    .prez-modal-card {
        padding: 24px 18px;
        border-radius: 18px;
        width: 96vw;
    }

    .prez-modal-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .prez-modal-title {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .prez-modal-img {
        max-height: 280px;
        border-radius: 12px;
    }

    .prez-modal-desc {
        font-size: 1rem;
        padding: 12px 14px;
    }

    /* Slide menu panel */
    .prez-slide-menu {
        right: 10px;
        top: 52px;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 100px);
        border-radius: 12px;
    }

    /* Hint */
    .prez-hint {
        font-size: 0.7rem;
        bottom: 12px;
        gap: 5px;
    }

    /* Expand indicator */
    .card-expand .card-expand-indicator {
        top: 8px;
        right: 10px;
        font-size: 0.75rem;
    }
}

/* ---- THEME TOGGLE BUTTON ---- */
.prez-theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.prez-theme-toggle:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(167,139,250,0.5);
    color: #fff;
    transform: scale(1.1);
}

/* ---- LIGHT THEME ---- */
.prez-root.prez-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    color: #0f172a;
}

.prez-root.prez-light .prez-logo-text {
    color: rgba(15,23,42,0.65);
}

.prez-root.prez-light .prez-theme-toggle {
    border-color: rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.7);
    color: #475569;
}

.prez-root.prez-light .prez-theme-toggle:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(79,70,229,0.4);
    color: #1e293b;
}

.prez-root.prez-light .prez-nav-dot {
    border-color: rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.4);
}

.prez-root.prez-light .prez-nav-dot:hover {
    border-color: #4f46e5;
    background: rgba(79,70,229,0.2);
}

.prez-root.prez-light .prez-nav-dot.active {
    background: #4f46e5;
    border-color: #4f46e5;
    box-shadow: 0 0 10px rgba(79,70,229,0.5);
}

.prez-root.prez-light .prez-nav-counter {
    color: rgba(15,23,42,0.45);
}

.prez-root.prez-light .prez-progress {
    background: rgba(0,0,0,0.08);
}

.prez-root.prez-light .prez-hint {
    color: rgba(0,0,0,0.35);
}

.prez-root.prez-light .gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prez-root.prez-light .cover-badge {
    background: rgba(255,255,255,0.8);
    border-color: rgba(79,70,229,0.25);
    color: #4338ca;
    box-shadow: 0 4px 12px rgba(79,70,229,0.12);
}

.prez-root.prez-light .badge-dot {
    background: #4f46e5;
    box-shadow: 0 0 12px #4f46e5;
}

.prez-root.prez-light .cover-subtitle {
    color: rgba(15,23,42,0.65);
}

.prez-root.prez-light .slide-lead {
    color: rgba(15,23,42,0.9);
}

.prez-root.prez-light .card-pillar {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.prez-root.prez-light .card-pillar:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    border-color: rgba(79,70,229,0.3);
}

.prez-root.prez-light .card-pillar p {
    color: rgba(15,23,42,0.7);
    background: rgba(255,255,255,0.5);
}

.prez-root.prez-light .info-block {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.1);
}

.prez-root.prez-light .info-block::before {
    background: linear-gradient(90deg, transparent, rgba(79,70,229,0.18), transparent);
}

.prez-root.prez-light .info-block:hover {
    border-color: rgba(79,70,229,0.3);
}

.prez-root.prez-light .info-block-header i {
    color: #4f46e5;
}

.prez-root.prez-light .info-block p {
    color: rgba(15,23,42,0.7);
    background: rgba(255,255,255,0.5);
}

.prez-root.prez-light .enjeux-section {
    background: rgba(255,255,255,0.75);
    border-color: rgba(79,70,229,0.15);
}

.prez-root.prez-light .enjeu-card {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.08);
}

.prez-root.prez-light .enjeu-card:hover {
    border-color: rgba(79,70,229,0.25);
}

.prez-root.prez-light .enjeu-card i {
    color: #7c3aed;
}

.prez-root.prez-light .enjeu-card p {
    color: rgba(15,23,42,0.65);
    background: rgba(255,255,255,0.5);
}

.prez-root.prez-light .stat-strip {
    border-top-color: rgba(0,0,0,0.1);
}

.prez-root.prez-light .stat-number {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prez-root.prez-light .stat-label {
    color: rgba(15,23,42,0.5);
}

.prez-root.prez-light .stat-item + .stat-item::before {
    background: rgba(0,0,0,0.1);
}

.prez-root.prez-light .prez-quote {
    background: rgba(255,255,255,0.7);
    border-left-color: #7c3aed;
    color: rgba(15,23,42,0.85);
}

.prez-root.prez-light .prez-quote i {
    color: rgba(124,58,237,0.35);
}

.prez-root.prez-light .data-point {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.1);
}

.prez-root.prez-light .data-point:hover {
    border-color: rgba(79,70,229,0.25);
}

.prez-root.prez-light .data-point > i {
    color: #4f46e5;
}

.prez-root.prez-light .data-point h4 {
    color: #0f172a;
}

.prez-root.prez-light .data-point p {
    color: rgba(15,23,42,0.65);
}

.prez-root.prez-light .prez-link-btn {
    background: rgba(255,255,255,0.8);
    border-color: rgba(79,70,229,0.35);
    color: #4338ca;
}

.prez-root.prez-light .prez-link-btn:hover {
    background: rgba(255,255,255,0.95);
    border-color: rgba(79,70,229,0.6);
    color: #4338ca;
}

.prez-root.prez-light .prez-btn-primary {
    box-shadow: 0 0 0 1px rgba(79,70,229,0.35), 0 12px 32px rgba(79,70,229,0.28);
}

.prez-root.prez-light .prez-btn-primary:hover {
    box-shadow: 0 0 0 1px rgba(79,70,229,0.55), 0 16px 44px rgba(79,70,229,0.38);
}

.prez-root.prez-light .prez-btn-outline {
    border-color: rgba(79,70,229,0.35);
    color: #4338ca;
    background: rgba(255,255,255,0.5);
}

.prez-root.prez-light .prez-btn-outline:hover {
    background: rgba(255,255,255,0.8);
    border-color: rgba(79,70,229,0.6);
    color: #4338ca;
}

.prez-root.prez-light .ia-intro {
    color: rgba(15,23,42,0.7);
}

.prez-root.prez-light .ia-benefits li {
    color: rgba(15,23,42,0.85);
    border-bottom-color: rgba(0,0,0,0.08);
}

.prez-root.prez-light .ia-benefits li i {
    color: #4f46e5;
}

.prez-root.prez-light .conclusion-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.1);
}

.prez-root.prez-light .conclusion-card::before {
    background: linear-gradient(90deg, transparent, rgba(79,70,229,0.12), transparent);
}

.prez-root.prez-light .conclusion-card:hover {
    border-color: rgba(79,70,229,0.3);
    box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}

.prez-root.prez-light .conclusion-card i {
    color: #7c3aed;
}

.prez-root.prez-light .conclusion-card span {
    color: rgba(15,23,42,0.75);
}

.prez-root.prez-light .merci-subtitle {
    color: rgba(15,23,42,0.45);
}

.prez-root.prez-light .slide-photo {
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
}

.prez-root.prez-light .slide-lead {
    background: rgba(255,255,255,0.5);
}

.prez-root.prez-light .ia-intro {
    background: rgba(255,255,255,0.5);
}

.prez-root.prez-light .cover-subtitle {
    background: rgba(255,255,255,0.5);
}

/* ---- EXPANDABLE SUIVI CARDS (MODAL OVERLAY) ---- */
.card-expand {
    cursor: pointer;
    position: relative;
}

.card-expand:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.45);
    border-color: rgba(167,139,250,0.4);
}

.card-expand .card-expand-indicator {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.25);
    transition: color 0.3s;
}

.card-expand:hover .card-expand-indicator {
    color: #a78bfa;
}

/* Hide the detail div inside the card (data stored for modal) */
.card-expand-detail {
    display: none;
}

/* ---- MODAL OVERLAY ---- */
.prez-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.prez-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.prez-modal-card {
position: relative;
background: rgba(15,20,40,0.92);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 24px;
padding: 48px 56px;
max-width: 1200px;
width: 95vw;
max-height: 92vh;
overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(167,139,250,0.15);
    transform: translateY(40px) scale(0.95);
    opacity: 0;
}

.prez-modal-overlay.active .prez-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.prez-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    padding: 0;
}

.prez-modal-close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: scale(1.1);
}

.prez-modal-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    color: #60a5fa;
}

.prez-modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.prez-modal-img-zone {
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
}

.prez-modal-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.prez-modal-desc {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin: 0;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-radius: 14px;
}

/* Light theme modal */
.prez-root.prez-light .prez-modal-overlay {
    background: rgba(255,255,255,0.5);
}

.prez-root.prez-light .prez-modal-card {
    background: rgba(255,255,255,0.95);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
}

.prez-root.prez-light .prez-modal-close {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
    color: rgba(15,23,42,0.5);
}

.prez-root.prez-light .prez-modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: #0f172a;
}

.prez-root.prez-light .prez-modal-icon {
    color: #4f46e5;
}

.prez-root.prez-light .prez-modal-title {
    color: #0f172a;
}

.prez-root.prez-light .prez-modal-img {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.prez-root.prez-light .prez-modal-desc {
    color: rgba(15,23,42,0.7);
    background: rgba(0,0,0,0.04);
}

.prez-root.prez-light .card-expand .card-expand-indicator {
    color: rgba(15,23,42,0.25);
}

.prez-root.prez-light .card-expand:hover .card-expand-indicator {
    color: #7c3aed;
}

/* ---- TOP ACTIONS GROUP (menu + theme toggle) ---- */
.prez-top-actions {
    position: absolute;
    top: 18px;
    right: 68px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prez-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.prez-action-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(167,139,250,0.5);
    color: #fff;
    transform: scale(1.1);
}

.prez-root.prez-light .prez-action-btn {
    border-color: rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.7);
    color: #475569;
}

.prez-root.prez-light .prez-action-btn:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(79,70,229,0.4);
    color: #1e293b;
}

/* ---- SLIDE MENU PANEL ---- */
.prez-slide-menu {
    position: absolute;
    top: 68px;
    right: 68px;
    z-index: 30;
    width: 280px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    background: rgba(10,14,32,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
}

.prez-slide-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.prez-slide-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.prez-menu-close-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.prez-menu-close-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.prez-slide-menu-list {
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prez-slide-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    font-size: 0.82rem;
    font-family: inherit;
    text-align: left;
    transition: background 0.2s, color 0.2s;
    width: 100%;
}

.prez-slide-menu-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.prez-slide-menu-item.active {
    background: rgba(99,102,241,0.2);
    color: #a78bfa;
    font-weight: 600;
}

.prez-menu-idx {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    min-width: 22px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.prez-slide-menu-item.active .prez-menu-idx {
    color: rgba(167,139,250,0.6);
}

.prez-menu-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Light theme slide menu */
.prez-root.prez-light .prez-slide-menu {
    background: rgba(255,255,255,0.92);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.prez-root.prez-light .prez-slide-menu-header {
    border-bottom-color: rgba(0,0,0,0.08);
    color: rgba(15,23,42,0.5);
}

.prez-root.prez-light .prez-menu-close-btn {
    color: rgba(15,23,42,0.4);
}

.prez-root.prez-light .prez-menu-close-btn:hover {
    color: #0f172a;
    background: rgba(0,0,0,0.06);
}

.prez-root.prez-light .prez-slide-menu-item {
    color: rgba(15,23,42,0.65);
}

.prez-root.prez-light .prez-slide-menu-item:hover {
    background: rgba(0,0,0,0.05);
    color: #0f172a;
}

.prez-root.prez-light .prez-slide-menu-item.active {
    background: rgba(79,70,229,0.12);
    color: #4f46e5;
}

.prez-root.prez-light .prez-menu-idx {
    color: rgba(15,23,42,0.25);
}

.prez-root.prez-light .prez-slide-menu-item.active .prez-menu-idx {
    color: rgba(79,70,229,0.5);
}

/* ---- LIGHT THEME: push Three.js canvas behind content ---- */
.prez-root.prez-light #prez-bg-canvas {
    opacity: 0.5;
}
